package com.house.building.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.house.common.utils.PageUtils;
import com.house.common.utils.Query;

import com.house.building.dao.DeveloperDao;
import com.house.building.entity.DeveloperEntity;
import com.house.building.service.DeveloperService;


@Service("developerService")
public class DeveloperServiceImpl extends ServiceImpl<DeveloperDao, DeveloperEntity> implements DeveloperService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<DeveloperEntity> page = this.page(
                new Query<DeveloperEntity>().getPage(params),
                new QueryWrapper<DeveloperEntity>()
        );

        return new PageUtils(page);
    }

}